#ifndef __COMMAND_H
#define __COMMAND_H

#include "sys.h"
#include "pid.h"
#include "stdio.h"

#include "usb_lib.h"
#include "hw_config.h"
#include "usb_pwr.h"	

//commands of control

#define READ_ENCODERS  'e'
#define RESET_ENCODERS 'r'
#define LEFT           'L'
#define RIGHT          'R'
#define CHANGEKP       'p'
#define CHANGEKI       'i'
#define CHANGEKD       'd'
#define HELP           'h'

void Run_Command(u16 len);
void Reset_Command(void);

extern u8 CMD_Buffer[6];
extern u8 CMD_Flag;
#endif

